﻿namespace Filters.Demo.Core
{
    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using Filters.Demo.Core.FilterConfiguration;

    /// <summary>
    /// Filters arguments
    /// </summary>
    public class FilterEventArgs : EventArgs
    {
        public FilterEventArgs(IList<FilterElement> filters)
        {
            this.Filters = filters;
        }

        public IList<FilterElement> Filters { get; private set; }
    }

    /// <summary>
    /// Selection arguments
    /// </summary>
    public class SelectionEventArgs : EventArgs
    {
        public SelectionEventArgs(Point location)
        {
            this.Location = location;
        }

        public SelectionEventArgs(Point location, Size size)
        {
            this.Location = location;
            this.Size = size;
        }

        public Point Location { get; private set; }

        public Size Size { get; private set; }
    }
}
